package com.gen.entity;

public class Course {
	private String courseid;
	private String coursename;
	private Float credit;
	private Integer departid;
	private Integer teacher;
	public String getCourseid() {
		return courseid;
	}
	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}
	public String getCoursename() {
		return coursename;
	}
	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}
	public Float getCredit() {
		return credit;
	}
	public void setCredit(Float credit) {
		this.credit = credit;
	}
	public Integer getDepartid() {
		return departid;
	}
	public void setDepartid(Integer departid) {
		this.departid = departid;
	}
	public Integer getTeacher() {
		return teacher;
	}
	public void setTeacher(Integer teacher) {
		this.teacher = teacher;
	}
	public Course(String courseid, String coursename, Float credit, Integer departid, Integer teacher) {
		super();
		this.courseid = courseid;
		this.coursename = coursename;
		this.credit = credit;
		this.departid = departid;
		this.teacher = teacher;
	}
	public Course() {
		super();
	}
	@Override
	public String toString() {
		return "Course [courseid=" + courseid + ", coursename=" + coursename + ", credit=" + credit + ", departid="
				+ departid + ", teacher=" + teacher + "]";
	}
	
}
